///*
// * IntersectionView.java
// *
// * Created on October 9, 2007, 11:13 AM
// *
// */
//
//package OLDSTUFF;
//
//import DataSetPackage.*;
//
///**
// * A <code>View</code> used when classifying with a <code>SimpleHierarchy</code>.
// * @author Martin Haulrich
// */
//public class IntersectionView { //implements View{
////
////    /**
////     * A list of views this view consists of.
////     * A intersection view consists of the views relevant to the intersecting hierarchies.
////     */
////    View[] views;
////    /**
////     * The dataset this view refers to.
////     */
////    DataSetSimple data;
////
////    /**
////     * Constructor
////     * @param views A list of views this view consists of.
////     * A intersection view consists of the views relevant to the intersecting hierarchies.
////     * @param data The dataset this view refers to.
////     */
////    public IntersectionView(View[] views, DataSetSimple data) {
////        this.views = views;
////        this.data = data;
////    }
////
////    public DataSetSimple getDataSet() {
////        return data;
////    }
////
////    public synchronized View getView(int[] indices) {
////        if (indices.length==1) {
////            return views[indices[0]];
////        } else {
////            View[] newViews = new View[indices.length];
////            for (int i=0; i<indices.length; i++) {
////                newViews[i] = views[indices[i]];
////                            }
////            return new IntersectionView(newViews,data);
////        }
////
////    }
////
////
//}
